package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Description: UserServiceApplication
 * Author: e
 * CreateDate: 2021-05-29
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("org.example.user.mapper")
//@ComponentScan(value = "org.example")
@EnableFeignClients  // 开启Feign
public class UserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class,args);
    }

}
